package com.bbcare.followup.plat.entity;

import java.io.Serializable;

import javax.persistence.Entity;

import com.bbcare.comm.DateUtil;

/**
 * @name: pt_queuescheme_info实体类
 * @author: DemonLee
 * @createTime: 2017.4.12
 * @description: 患者队列实例表
 * @modify:
 * 
 */

@Entity
public class PatientQueueScheme implements Serializable {
    private static final long serialVersionUID = 1L;
    // 患者队列方案信息id
    private String id;
    // 患者id
    private String userId;
    // 队列id
    private String queueId;
    // 方案id
    private String schemeId;
    // 方案版本id
    private String schemeVersionid;
    // 患者状态 0:失访 1:正常
    private String userStatus;
    // 创建人id
    private String authorId;
    // 创建时间
    private String createTime;
    // 更新时间
    private String updateTime;
    // 任务总数
    private int totalNum;
    // 完成任务数
    private int finishNum;
    // 过期未完成任务数
    private int lostNum;
    // 更新人id
    private String updateAuthor;
    // 更新流水
    private String updateAccept;
    // 绑定就诊卡类型
    private String cardType;
    // 就诊卡状态，0失效，1正常
    private String cardStatus;
    // 就诊卡号
    private String cardNo;
    // 医院研究id1
    private String hisNo1;
    // 医院研究id2
    private String hisNo2;
    // 医院研究id3
    private String hisNo3;
    // 样本是否采样标志位,0未采样，1已采样
    private String sampleFlag;
    // 线上随访总任务数
    private int onlineTotal;
    // 线上随访已完成任务数
    private int onlineFinish;
    // 线上随访失访任务数
    private int onlineLost;
    // 线上主诉登记次数
    private int selfReportFinish;
    // 预约成功失败标识 TRUE/FALSE
    private String isSuccess;
    // 预约失败错误信息
    private String message;
    // 预约流水
    private String reservationId;
    // 预约时间
    private String date;
    // 病人识别码
    private String pathash;
    // 通用建档任务实例id
    private String archiveTaskId;
    // 租户id
    private String tenantId;
    // 审核确认标志（N表示未审核，Y表示审核通过，F表示审核不通过）
    private String confirmFlag;
    //转归类型 1:康复 2:加重 3:死亡 4: 失访 5:治疗中 6:好转
    private String changeStatus;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserId() {
        return userId;
    }

    public void setQueueId(String queueId) {
        this.queueId = queueId;
    }

    public String getQueueId() {
        return queueId;
    }

    public void setSchemeId(String schemeId) {
        this.schemeId = schemeId;
    }

    public String getSchemeId() {
        return schemeId;
    }

    public void setSchemeVersionid(String schemeVersionid) {
        this.schemeVersionid = schemeVersionid;
    }

    public String getSchemeVersionid() {
        return schemeVersionid;
    }

    public void setUserStatus(String userStatus) {
        this.userStatus = userStatus;
    }

    public String getUserStatus() {
        return userStatus;
    }

    public void setAuthorId(String authorId) {
        this.authorId = authorId;
    }

    public String getAuthorId() {
        return authorId;
    }

    public int getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(int totalNum) {
        this.totalNum = totalNum;
    }

    public int getFinishNum() {
        return finishNum;
    }

    public void setFinishNum(int finishNum) {
        this.finishNum = finishNum;
    }

    public int getLostNum() {
        return lostNum;
    }

    public void setLostNum(int lostNum) {
        this.lostNum = lostNum;
    }

    public void setCreateTime(String createTime) {
        this.createTime = DateUtil.getTimeStampSec(createTime);
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = DateUtil.getTimeStampSec(updateTime);
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public String getUpdateAuthor() {
        return updateAuthor;
    }

    public void setUpdateAuthor(String updateAuthor) {
        this.updateAuthor = updateAuthor;
    }

    public String getUpdateAccept() {
        return updateAccept;
    }

    public void setUpdateAccept(String updateAccept) {
        this.updateAccept = updateAccept;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getCardStatus() {
        return cardStatus;
    }

    public void setCardStatus(String cardStatus) {
        this.cardStatus = cardStatus;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getHisNo1() {
        return hisNo1;
    }

    public void setHisNo1(String hisNo1) {
        this.hisNo1 = hisNo1;
    }

    public String getHisNo2() {
        return hisNo2;
    }

    public void setHisNo2(String hisNo2) {
        this.hisNo2 = hisNo2;
    }

    public String getHisNo3() {
        return hisNo3;
    }

    public void setHisNo3(String hisNo3) {
        this.hisNo3 = hisNo3;
    }

    public String getSampleFlag() {
        return sampleFlag;
    }

    public void setSampleFlag(String sampleFlag) {
        this.sampleFlag = sampleFlag;
    }

    public int getOnlineTotal() {
        return onlineTotal;
    }

    public void setOnlineTotal(int onlineTotal) {
        this.onlineTotal = onlineTotal;
    }

    public int getOnlineFinish() {
        return onlineFinish;
    }

    public void setOnlineFinish(int onlineFinish) {
        this.onlineFinish = onlineFinish;
    }

    public int getOnlineLost() {
        return onlineLost;
    }

    public void setOnlineLost(int onlineLost) {
        this.onlineLost = onlineLost;
    }

    public int getSelfReportFinish() {
        return selfReportFinish;
    }

    public void setSelfReportFinish(int selfReportFinish) {
        this.selfReportFinish = selfReportFinish;
    }

    public String getIsSuccess() {
        return isSuccess;
    }

    public void setIsSuccess(String isSuccess) {
        this.isSuccess = isSuccess;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getReservationId() {
        return reservationId;
    }

    public void setReservationId(String reservationId) {
        this.reservationId = reservationId;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getPathash() {
        return pathash;
    }

    public void setPathash(String pathash) {
        this.pathash = pathash;
    }

    public String getArchiveTaskId() {
        return archiveTaskId;
    }

    public void setArchiveTaskId(String archiveTaskId) {
        this.archiveTaskId = archiveTaskId;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getConfirmFlag() {
        return confirmFlag;
    }

    public void setConfirmFlag(String confirmFlag) {
        this.confirmFlag = confirmFlag;
    }

	public String getChangeStatus() {
		return changeStatus;
	}

	public void setChangeStatus(String changeStatus) {
		this.changeStatus = changeStatus;
	}

}
